package com.test.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student implements Serializable {

    private Integer sid;
    private String sName;
    private String sgender;
    private Integer age;
//    private Integer classid;

    private Class c;

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", sName='" + sName + '\'' +
                ", sgender='" + sgender + '\'' +
                ", age=" + age +
                ", class=" + c +
                '}';
    }
}
